<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<table class="clst" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tleft">$lang[board_management]</td>
			<td class="tright"></td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="1" class="list">
		<tr>
			<th width="8%">NO.</th>
			<th width="26%">$lang[board_name]</th>
			<th width="26%">$lang[board_title]</th>
			<th width="13%">$lang[category_management]</th>
			<th width="13%">$lang[operation]</th>
		</tr>
<!--
EOT;
foreach ($board_rt as $val){
print <<<EOT
-->
		<tr  id="r$val[uid]">
			<td>$val[uid]</td>
			<td><a href="board.php?action=$val[board_name_code]" target="_blank">$val[board_name_code]</a></td>
			<td>$val[board_title]</td>
			<td><a href="$val[cat]">$lang[category_management]</a></td>
			<td><a href="$val[edit]">$lang[laws]</a> | <a href="javascript:;" onclick="remove('$val[uid]','$val[del]');">$lang[remove]</a></td>
		</tr>
<!--
EOT;
} print <<<EOT
-->	
	</table>
	
	<form name="board_make" action="admincp.php?module=board&action=add" method="post" onsubmit = "return board();">
	<input type="hidden" name="setp" id="setp" value="1"/>
	<table cellpadding="0" cellspacing="1" class="list1" style="margin-top:20px;">
		<tr><th colspan="2">$lang[add_board]</th>
		</tr>
		<tr >
			<td class="td_left1" width="60%">$lang[board_code]
		  <p class="cpsm">$lang[must_encoded].</p></td><td><input type="text" onkeyup="value=value.replace(/[\W]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" name="board_code" id="board_code" value="$board_code" size="30" maxLength="20" class="text" /></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[board_title]
			  <p class="cpsm">$lang[display_name].</p></td><td><input type="text" name="board_name" id="board_name" value="$board_name" size="30" maxLength="255" class="text" /></td>
		</tr>	
	</table>
	<div id="tfoot"><input type="submit" name="Submit" value="&nbsp;$lang[submit]&nbsp;" onclick="" /> <input type="reset" name="reset" value="&nbsp;$lang[reset]&nbsp;" /></div>	
	</form>
</div>
<!--
EOT;
?>-->